
# KEEP LIBTOOL FILES!
pkgname=neon
pkgver=0.30.2
pkgrel=1
pkgdesc="HTTP and WebDAV client library with a C interface"
arch=('x86_64')
url="http://www.webdav.org/neon/"
license=('GPL' 'LGPL')
depends=('krb5' 'expat' 'ca-certificates')
options=('libtool')
source=("http://www.webdav.org/neon/${pkgname}-${pkgver}.tar.gz")
md5sums=('e28d77bf14032d7f5046b3930704ef41')

build() {
  cd ${pkgname}-${pkgver}
  
  ./configure --prefix=/usr \
    --with-expat \
    --enable-shared \
    --disable-static \
    --with-ssl=openssl \
    --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
  make 
}

package() {
  cd ${pkgname}-${pkgver}
  
  make DESTDIR=${pkgdir} install
}
